package com.havilahshawn.finaltest22ndsesforad.DB;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * Created by My Family on 2018/6/28.
 */

public class StuContract {
    public static final String CONTENT_AUTHORITY = "com.havilahshawn.finaltest22ndsesforad.StuProvider";
    public static final  Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
    public static final String PATH = "student";

    public static final class StuEntry implements BaseColumns{
        public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI,PATH);
        public static final String TABLE_NAME = "student";
        public static final String _ID = BaseColumns._ID;
        public static final String COLUMN_STU_NAME = "name";
        public static final String COLUMN_STU_AGE = "age";
        public static final String COLUMN_STU_SEX = "sex";
    }
}
